EXES = mkfs

MYCFLAGS= -Wall -I/usr/include -g

all: $(EXES)

%.o: %.c 
	$(CC) -c $(CFLAGS) $(CPPFLAGS) ${MYCFLAGS} $< -o $@

%: %.c 
	$(CC) $(CFLAGS) $(CPPFLAGS) ${MYCFLAGS} ${MYLDFLAGS} $^ -o $@

clean:
	rm -f ${EXES} *.o 

mkfs: mkfs.c